package com.settlement.system.model.entity.common;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.settlement.system.converter.BigNumberFormatConvert;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * WP-财务调账表
 * @author xiaochuan
 * @since 2020-11-19
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblWpFinAdjustAccount extends BaseModel implements Serializable {


    /**
     * 零售店铺编码
     */
    @ExcelProperty(value = "零售店铺编码")
    @ApiModelProperty(value = "零售店铺编码")
    private String shopNo;

    /**
     * 零售店铺名称
     */
    @ExcelProperty(value = "零售店铺名称")
    @ApiModelProperty(value = "零售店铺名称")
    private String shopName;

    /**
     * 销售日期
     */
    @ExcelProperty(value = "销售日期")
    @ApiModelProperty(value = "销售日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date outDate;

    /**
     * PO单号（唯品会订单）
     */
    @ExcelProperty(value = "PO单号")
    @ApiModelProperty(value = "PO单号（唯品会订单）")
    private String poNo;

    /**
     * 商品条码
     */
    @ExcelProperty(value = "商品条码",converter = BigNumberFormatConvert.class)
    @ApiModelProperty(value = "商品条码")
    private String barCode;

    /**
     * 调整数量
     */
    @ExcelProperty(value = "调整数量")
    @ApiModelProperty(value = "调整数量")
    private Integer adjustQty;

    /**
     * 调整金额
     */
    @ExcelProperty(value = "调整金额")
    @ApiModelProperty(value = "调整金额")
    private BigDecimal adjustAmount;

    /**
     * 调整说明
     */
    @ExcelProperty(value = "调整说明")
    @ApiModelProperty(value = "调整说明")
    private String remarks;
}
